//++++++++++++++++++++++++++++++++++++++++
// 《Go语言设计模式》源码
//++++++++++++++++++++++++++++++++++++++++
// Author:廖显东（ShirDon）
// Blog:https://www.shirdon.com/
// 作者知乎：https://www.zhihu.com/people/shirdonl
// 仓库地址：https://gitee.com/shirdonl/goDesignPattern
// 仓库地址：https://github.com/shirdonl/goDesignPattern
// 交流咨询，请关注公众号"源码大数据"
//++++++++++++++++++++++++++++++++++++++++

package pkg

type clothes struct {
	name  string
	size int
}

func (c *clothes) setName(name string) {
	c.name = name
}

func (c *clothes) GetName() string {
	return c.name
}

func (c *clothes) setSize(size int) {
	c.size = size
}

func (c *clothes) GetSize() int {
	return c.size
}